package san.service.demo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import san.service.InitSystemData;

/**
 * @author san
 */
@Service("news")
@Transactional
@SuppressWarnings("unchecked")
public class NewsService {
	@Autowired
	private InitSystemData dbinit;

	public void init() throws Exception {
		dbinit.deleteAll();
	}
}
